﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace MS.InformationManagement.Controls._CONTROLTEMPLATES.InformationManagerControls
{
    public partial class PrestamosDocumentales : UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            PanelPrestamos.Visible = true;
        }

        public void SetSolicitudesEnviadas(int Count)
        {
            IdSolicitudesEnviadas.InnerText = "Solicitudes enviadas (" + Count + ")";
        }

        public void SetSolicitudesRecibidas(int Count)
        {
            IdSolicitudesRecibidas.InnerText = "Solicitudes recibidas (" + Count + ")";
        }

        public void SetPrestamos(int Count)
        {
            IdPrestamos.InnerText = "Prestamos (" + Count + ")";
        }

        public void SetDevoluciones(int Count)
        {
            IdDevoluciones.InnerText = "Devoluciones (" + Count + ")";
        }

        public void loadPrestamos()
        {
            PrestamosByUserID.loadGrilla();
        }
    }
}
